WP_IGSV\InlineGoogleSpreadsheetViewerPlugin D

Total Complexity 165
Dependencies 6
Dependents 0
Total lines 1,435
Lines of code 989
Logical lines of code 423
Comment lines 386
Methods 44
Properties 5

Methods 44

Method Rating Maintainability Complexity Lines of code
dataToHtml()
B
34 21 84
displayShortcode()
A
27
4 183
getSqlOutput()
A
41 12 53
setGVizCsvDataTypes()
A
48 10 31
getSpreadsheetUrl()
A
49 10 28
renderOptionsPage()
A
38 6 87
addFrontEndScripts()
A
36 5 101
maybeFetchGvizDataSource()
A
48 9 29
getDocTypeByKey()
A
51 9 26
getHttpOutput()
A
48 8 33
validateSettings()
S
54 7 23
doHttpRequest()
S
55 6 17
getGVizChartOutput()
S
55 5 16
getLocalizedPluginVars()
S
55 4 18
fetchData()
S
59 4 13
registerContextualHelp()
S
47 2 39
dataTablesAttributes()
S
62 4 10
getDocId()
S
58 3 14
activate()
S
60 3 12
getSqlCapableRoles()
S
63 3 10
getChartOptions()
S
65 3 9
str_getcsv()
S
62 2 11
register()
S
57 1 17
isValidNonce()
S
68 2 6
evenOrOdd()
S
78 2 3
getGVizDataSourceUrl()
S
67 2 7
__construct()
S
63 1 11
showDonationAppeal()
S
64 1 11
getGDocsViewerOutput()
S
62 1 9
registerL10n()
S
77 1 3
registerSettings()
S
69 1 7
registerAdminMenu()
S
66 1 9
addAdminScripts()
S
66 1 9
getTransientName()
S
76 1 3
oEmbedHandler()
S
75 1 4
csvToDataTable()
S
75 1 4
parseCsv()
S
79 1 3
canQuerySqlDatabases()
S
74 1 4
isSqlDbEnabled()
S
74 1 4
getTransient()
S
79 1 3
setTransient()
S
78 1 3
sanitizeQuery()
S
66 1 9
makeNonceUrl()
S
62 1 10
sanitizeKey()
S
78 1 3